/**
 * Created by Administrator on 2016/9/6.
 */
//appModule 主模块名 
angular.module('appModule',[
    'ui.router',
    'listModule',
    'listService'
])
    .config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
        $stateProvider
            .state('list', {
                url: '/list/:type',
                templateUrl: 'areas/list/list.html',
                controller: 'listController'
            })
        $urlRouterProvider.otherwise('/list/red');
    }]);